package com.ml.mall.entity.partner;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author pl
 * Created 2021-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_partner")
@ApiModel(value="SysPartner对象", description="")
public class SysOrderPartner implements Serializable {


    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_at", fill = FieldFill.INSERT)
    private Date createAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_at", fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除")
    @TableField(value = "is_delete", fill = FieldFill.INSERT)
    @TableLogic(value = "0",delval = "1")
    private Integer isDelete;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称")
    @TableField("company_name")
    private String companyName;

    /**
     * 感兴趣的产业
     */
    @ApiModelProperty(value = "感兴趣的产业")
    @TableField("industry_arr")
    private String industryArr;

    /**
     * 名称1
     */
    @ApiModelProperty(value = "名称1")
    @TableField("first_name")
    private String firstName;

    /**
     * 名称2
     */
    @ApiModelProperty(value = "名称2")
    @TableField("last_name")
    private String lastName;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    @TableField("phone_no")
    private String phoneNo;

    /**
     * 状态：0有效；1无效
     */
    @ApiModelProperty(value = "状态：0有效；1无效")
    @TableField(value = "state", fill = FieldFill.INSERT)
    private Integer state;

    /**
     * 图片路由
     */
    @ApiModelProperty(value = "图片路由")
    @TableField("logo_url")
    private String logoUrl;

    /**
     * 合作商ID
     */
    @ApiModelProperty(value = "合作商ID")
    @TableField("partner_id")
    private Long partnerId;

    /**
     * 邀请码
     */
    @ApiModelProperty(value = "邀请码")
    @TableField("invit_code")
    private String invitCode;


}
